package cn.ffcs.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * FTPClient配置类，封装FTPClient的相关配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "ftp")
public class FTPClientConfigure {

  private String host;
  private int port;
  private String username;
  private String password;
  private String encoding;
  private int clientTimeout;
  private int threadNum;
  private int transferFileType;
  private boolean renameUploaded;
  private int retryTimes;
}
